#ifndef PERSON_H_
#define PERSON_H_
#include <string.h>
typedef struct Person {
	char name[61];
	char address[120];
	char phone[12];
	bool compareByName(Person& other) {
		return (strcmp(name,other.name)==0);
	}
	bool compareByAddress(Person& other) {
		return (strcmp(address,other.address)==0);
	}
	bool compareByPhone(Person& other) {
		return (strcmp(phone,other.phone)==0);
	}
	bool compareByAll(Person& other) {
		return compareByName(other) && compareByAddress(other) && compareByPhone(other);
	}
} Person;


#endif /* PERSON_H_ */
